Crate lhash

source ·
Expand description

Minimal no_std hashing library

Provided Algorithms

These are also names of features to be used to include algorithm code.

  • sha1
  • md5
  • sha256
  • sha512

It also includes generic hmac implementation

Structs

  • Wrapper to hex format digest
  • Represents key used to sign content in hmac algorithm.
  • MD5 algorithm implementation
  • Sha1 algorithm implementation
  • Sha256 algorithm implementation
  • Sha512 algorithm implementation

Traits

  • Hashing algorithm interface

Functions

  • Creates HMAC using provided Digest algorithm.
  • const MD5 algorithm implementation
  • const SHA1 algorithm implementation
  • const SHA256 algorithm implementation
  • const SHA512 algorithm implementation